package com.shop.cloud.model.response.api;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiGetGoodsDetailResponseModelStyleList {

	@JsonProperty("name")
    @ApiModelProperty(value = "规格名称", example = "规格名称", required = true)
    private String name;
	
	@JsonProperty("id")
    @ApiModelProperty(value = "规格id", example = "规格id", required = true)
    private String id;
    
	@JsonProperty("valueList")
    @ApiModelProperty(value = "属性值", example = "属性值", required = true)
    private List<ApiGetGoodsDetailResponseModelStyleListValue> valueList;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<ApiGetGoodsDetailResponseModelStyleListValue> getValueList() {
		return valueList;
	}

	public void setValueList(List<ApiGetGoodsDetailResponseModelStyleListValue> valueList) {
		this.valueList = valueList;
	}
}
